package com.zmc.order.infrastructure.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zmc.order.infrastructure.bean.query.CommentMemberInfoQuery;
import com.zmc.order.infrastructure.entity.CommentMemberInfoEntity;

/**
 * 用户评论表
 *
 * @author zmc
 * @email 
 * @date 2025-05-26 10:30:34
 */
public interface CommentMemberInfoService extends IService<CommentMemberInfoEntity> {

    Page<CommentMemberInfoEntity> queryPage(CommentMemberInfoQuery query);

    CommentMemberInfoEntity getBySpuIdAndOrderSn(String spuId, String orderSn);

    void updateByMemberIdAndOrderSn(String memberId, String orderSn, int status);

    void initCommentMemberInfo(String memberId, String orderSn, String spuId);

}

